<html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script>

    </script>
</head>
<body>
    <div id="div">
    </div>
    <script>
        document.write(screen.availWidth + "可用宽高" + screen.availHeight)
    </script>
</body>
</html>